package com.application.lucky.presenter;

import com.application.lucky.request.LoginRequest;
import com.application.lucky.view.ForgetView;
import com.application.lucky.view.LoginView;
import com.application.mylibrary.base.mvp.IBasePresenter;
import com.baselib.libnetwork.net.libnetworkcomponent.BaseResponse;

public class ForgetPresenter extends IBasePresenter <ForgetView>{

    private final LoginRequest request;

    public ForgetPresenter() {
        request = new LoginRequest();

    }

    public void login(){
        if (getView()!=null) {
            String username = getView().getUsername();
            String password = getView().getPassword();


        }
    }

    public void register(){
        if (getView()!=null) {
            String username = getView().getUsername();
            String password = getView().getPassword();

        }
    }
    public void setPassword(){
        if (getView()!=null) {
            String username = getView().getUsername();
            String password = getView().getPassword();


        }
    }
}
